<template>
    <el-form :model="drawerForm"  label-width="100px">
      <template  v-for="item in drawerList">
        <el-form-item :prop="item.prop" :label="item.label">
          <el-input v-model="drawerForm[item.id]" :disabled="item.disabled" :v-show="item.show"></el-input>
        </el-form-item>
      </template>
    </el-form>
</template>

<script>
export default {
  name: "drawerList",
  props: {

    drawerForm: {type: Object},//绑定的表单，用来提交数据用的
    drawerList: {type: Array},//from中的input
  },
  emits:['close','Sumbit'],
  data() {
    return {
    }
  },
  methods: {
  }
}
</script>

<style scoped>

</style>